home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The 640 MEG Shareware Studio 2
/
The 640 Meg Shareware Studio CD-ROM Volume II (Data Express)(1993).ISO
/
utility
/
fwkcs118.zip
/
INSTALL.BAT
< prev
next >
Wrap
DOS Batch File
|
1992-09-11
|
4KB
|
137 lines
@echo off
if exist go.bat go
cls
echo - Part of FWKCS(TM) Contents_Signature System, Version 1.18.
echo - (C)Copyright Frederick W. Kantor 1989-1992. All rights reserved.
echo -
echo - Your use of the FWKCS(TM) Contents_Signature System is at solely your own
echo - risk. For safety, please have proper backups of your files.
echo -
echo - INSTALL.BAT to install the FWKCS(TM) Contents_Signature System, Ver. 1.18;
echo - for use in same directory with FWKCS118.ZIP, FWKCS.118, and FWKCS_TM.118.
echo -
echo - Note: Before you start the installation, please have available on your PATH:
echo - Phil Katz's PKUNZIP(R), Version 1.10 or later.
echo - (IBM/MS) DOS 3.30-5.00, ATTRIB command (or IBM OS/2 2.0 DOS session).
echo -
echo - (More information provided as FWKCS.118 package is opened; see README.TXT.)
echo -
echo - If you are replacing FWKCS Ver. 1.12 or later, use REPLACE.BAT.
echo - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
echo -
echo - Usage: INSTALL "<enter>"
if "%1" == "/*" goto end
echo -
echo - If you are missing PKUNZIP, or ATTRIB, as above, stop now!
echo - To quit, press Ctrl+C, then y ~~~~~~~~
echo -
pause
if not exist fwkcs118.zip goto nv118
if exist #@!#@!^^.@!@ del #@!#@!^^.@!@ > nul
if exist #@!#@!^^.@!@ attrib -r #@!#@!^^.@!@ > nul
if exist #@!#@!^^.@!@ del #@!#@!^^.@!@ > nul
if exist @@!#@!^^.@!@ del @@!#@!^^.@!@ > nul
if exist @@!#@!^^.@!@ attrib -r @@!#@!^^.@!@ > nul
if exist @@!#@!^^.@!@ del @@!#@!^^.@!@ > nul
if exist @@!#@^!^.@!@ del @@!#@^!^.@!@ > nul
if exist @@!#@^!^.@!@ attrib -r @@!#@^!^.@!@ > nul
if exist @@!#@^!^.@!@ del @@!#@^!^.@!@ > nul
pkunzip @@!#@!^^.@!@ > nul
if errorlevel 1 goto zex
goto nz
:zex
cls
if not exist fwkcstmp.118 goto n1
if exist fwkhi.com del fwkhi.com > nul
if exist fwkhi.com attrib -r fwkhi.com > nul
if exist fwkhi.com del fwkhi.com > nul
pkunzip -o fwkcstmp.118 fwkhi.com > nul
if exist fwkhi.com goto n2
:n1
if not exist fwkcs.118 goto nd
if not exist fwkcs_tm.118 goto cm
ren fwkcs_tm.118 fwkcs_tm.com > nul
fwkcs_tm < fwkcs.118 >fwkcstmp.118
if errorlevel 1 goto fbad
ren fwkcs_tm.com fwkcs_tm.118 > nul
pkunzip -o fwkcstmp.118 fwkhi.com > nul
if not exist fwkhi.com goto fz
:n2
cls
echo -
echo - Should I enter FWKCS118.ZIP's contents_signatures for future reference?
echo -
echo - Press either 0 or 1 to answer: 0 = NO. 1 = YES.
echo -
:ask1
fwkhi
if errorlevel 2 goto ask1
if not errorlevel 1 goto nocs
if exist fwkcs118.zip ren fwkcs118.zip @@!#@!^^.@!@ > nul
if exist fwkcstmp.118 ren fwkcstmp.118 fwkcs118.zip > nul
pkunzip -o fwkcs118.zip fwkcs.exe > nul
fwkcs /1 fwkcs118.zip #@!#@!^^.@!@
ren fwkcs118.zip fwkcstmp.118 > nul
if exist @@!#@!^^.@!@ ren @@!#@!^^.@!@ fwkcs118.zip > nul
if not exist fwkcs.exe pkunzip fwkcs118.zip fwkcs.exe > nul
if exist fwkcs118.zip fwkcs /1 fwkcs118.zip >> #@!#@!^^.@!@
fwkcs #@!#@!^^.@!@ /a7.8v",!" @@!#@^!^.@!@
del #@!#@!^^.@!@ > nul
fwkcs @@!#@^!^.@!@ /s
fwkcs @@!#@^!^.@!@ nul myowncsl.srt /ms
del @@!#@^!^.@!@ > nul
del fwkcs.exe > nul
:nocs
pkunzip fwkcstmp.118 go.bat > nul
if errorlevel 51 goto fz
if errorlevel 50 goto ns
if errorlevel 1 goto fz
del fwkhi.com > nul
go
:nv118
echo -
echo - INSTALL.BAT is for use in the same directory with all these
echo - files together: FWKCS118.ZIP, FWKCS.118, and FWKCS_TM.118.
goto try
:ns
del fwkcs118.tmp > nul
echo -
echo - There is apparently not enough space here for me to work in...
echo -
echo - After you have provided more space here, or moved my files to
echo - another drive with enough space,
goto try
:fz
del fwkcs118.tmp > nul
echo -
echo - Error getting file(s).
goto try
:fbad
del fwkcs118.tmp > nul
ren fwkcs_tm.com fwkcs_tm.118 > nul
echo -
echo - FWKCS.118 appears defective or incompatible. Execution aborted.
:try
echo -
echo - Please clean up, and try again. See README.TXT.
goto end
:nz
echo -
echo - Where is Phil Katz's PKUNZIP(R)?
echo -
echo - After getting this missing program,
echo -
echo - Please try again.
goto end
:cm
echo -
echo - I need FWKCS_TM.118.
echo -
echo - I quit!
goto end
:nd
echo -
echo - Nothing to do!
:end
echo -